/*
 * light_post.h
 *
 *  Created on: 27-jun-2009
 *      Author: HPK
 */

#ifndef LIGHT_POST_H_
#define LIGHT_POST_H_

#include "sceneObject.h"
#include "model/light.h"

class LightPost : public SceneObject {
	private:
		Light* _light;
	public:
		LightPost(const Cube& cube,const ObjectModelPtr& model,Light* light=NULL);
		~LightPost();

		void light(Light* light){ _light=light; }
		Light* light(){ return _light; }
		void state(bool state);

		static std::string name(){
			return "lightpost";
		}
};

#endif /* LIGHT_POST_H_ */
